SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48807: An error occurs while copying the form set

DetailsAboutRate It

If you have assigned authors and reviewers to a SAS® Financial Management form or form set template, the following error might occur when you copy the form set, change the target dimension and hierarchy, and select the Authors and Reviewers copy options:

An error occurred while copying the form set.
See the SAS Financial Management Studio log for 
more information or contact your system administrator
for assistance.

If this error occurs, then the following error is written to the client.log:

com.sas.solutions.finance.rcp.forms.core.FormSetsModelException: 
Form Sets model error.
   at com.sas.solutions.finance.rcp.forms.internal.core.FormSetsModel.copyFMFormSet(FormSetsModel.java:555)
   at com.sas.solutions.finance.rcp.forms.internal.ui.wizards.CopyFormSetWizard.copyFMFormSet
      (CopyFormSetWizard.java:394)
   at com.sas.solutions.finance.rcp.forms.internal.ui.wizards.CopyFormSetWizard.run
      (CopyFormSetWizard.java:354)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.sas.solutions.finance.models.FinanceClientException: java.rmi.RemoteException: EJB Exception: ;  
   nested exception is: java.lang.NullPointerException
   at com.sas.solutions.finance.models.planning.client.FormSetManagerDelegate.copy
     (FormSetManagerDelegate.java:515)
   at com.sas.solutions.finance.rcp.forms.internal.core.FormsDelegateManager.copyFMFormSet   
     (FormsDelegateManager.java:295)
   at com.sas.solutions.finance.rcp.forms.internal.core.FormSetsModel.copyFMFormSet(FormSetsModel.java:530)
     ... 3 more
     Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:

java.lang.NullPointerException
   at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
   at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:860)
   at weblogic.ejb.container.internal.BaseRemoteObject.handleSystemException(BaseRemoteObject.java:809)
   at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:514)
   at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
   at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
   at com.sas.solutions.finance.models.planning.ejb.FormSetManager_yuvbte_EOImpl.copy
     (FormSetManager_yuvbte_EOImpl.java:2336)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.sas.solutions.webservice.WebServiceServlet.doPost(WebServiceServlet.java:226)
   at com.sas.solutions.webservice.AppStateAwareWebServiceServlet.doPost
      (AppStateAwareWebServiceServlet.java:42)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
   at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
   at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
   at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
   at weblogic.security.service.SecurityManager.runAs(Unknown Source)
   at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
   at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
   at weblogic.servlet.internal.ServletRequestImpl.run(Unknown Source)
   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
   at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: java.lang.NullPointerException
   at com.sas.solutions.finance.models.planning.ejb.FormSetManagerBean.copyAuthorsReviewers  
     (FormSetManagerBean.java:2168)
   at com.sas.solutions.finance.models.planning.ejb.FormSetManagerBean.copy(FormSetManagerBean.java:2019)
   at com.sas.solutions.finance.models.planning.ejb.FormSetManager_yuvbte_EOImpl.copy
     (FormSetManager_yuvbte_EOImpl.java:2322)
     ... 20 more

To work around this problem, deselect the Authors and Reviewers copy options.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Financial ManagementMicrosoft® Windows® for x645.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Standard Edition5.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 for x645.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 20085.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x645.3_M15.49.3 TS1M29.4 TS1M0
Microsoft Windows XP Professional5.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Enterprise 32 bit5.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Enterprise x645.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Home Premium 32 bit5.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Home Premium x645.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Professional 32 bit5.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Professional x645.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Ultimate 32 bit5.3_M15.49.3 TS1M29.4 TS1M0
Windows 7 Ultimate x645.3_M15.49.3 TS1M29.4 TS1M0
Windows Vista5.3_M15.49.3 TS1M29.4 TS1M0
Windows Vista for x645.3_M15.49.3 TS1M29.4 TS1M0
64-bit Enabled AIX5.3_M15.49.3 TS1M29.4 TS1M0
64-bit Enabled Solaris5.3_M15.49.3 TS1M29.4 TS1M0
HP-UX IPF5.3_M15.49.3 TS1M29.4 TS1M0
Linux for x645.3_M15.49.3 TS1M29.4 TS1M0
Solaris for x645.3_M15.49.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.